package org.jeecg.modules.categories.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: blog_categories
 * @Author: jeecg-boot
 * @Date:   2025-06-30
 * @Version: V1.0
 */
@Data
@TableName("blog_categories")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="blog_categories")
public class BlogCategories implements Serializable {
    private static final long serialVersionUID = 1L;

	/**分类ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "分类ID")
    private java.lang.String id;
	/**分类名称*/
	@Excel(name = "分类名称", width = 15)
    @Schema(description = "分类名称")
    private java.lang.String name;
	/**分类代码*/
	@Excel(name = "分类代码", width = 15)
    @Schema(description = "分类代码")
    private java.lang.String code;
	/**分类描述*/
	@Excel(name = "分类描述", width = 15)
    @Schema(description = "分类描述")
    private java.lang.String description;
	/**分类颜色*/
	@Excel(name = "分类颜色", width = 15)
    @Schema(description = "分类颜色")
    private java.lang.String color;
	/**分类图标*/
	@Excel(name = "分类图标", width = 15)
    @Schema(description = "分类图标")
    private java.lang.String icon;
	/**排序权重*/
	@Excel(name = "排序权重", width = 15)
    @Schema(description = "排序权重")
    private java.lang.Integer sortOrder;
	/**状态(0:禁用,1:启用)*/
	@Excel(name = "状态(0:禁用,1:启用)", width = 15)
    @Schema(description = "状态(0:禁用,1:启用)")
    @Dict(dicCode = "blog_enabled")
    private java.lang.Integer status;
	/**文章数量*/
	@Excel(name = "文章数量", width = 15)
    @Schema(description = "文章数量")
    private java.lang.Integer articleCount;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private java.util.Date createTime;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新时间")
    private java.util.Date updateTime;
}
